package cn.lili.modules.im.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.im.client.IMClient;
import cn.lili.modules.im.entity.dos.ImTalk;
import cn.lili.modules.im.entity.dto.IMTalkQueryParams;

import java.util.List;

/**
 * @author paulG
 * @since 2023/2/6
 **/
public class IMFallback implements IMClient {

    @Override
    public List<ImTalk> getImTalkList(IMTalkQueryParams imTalkQueryParams) {
        throw new ServiceException("获取对话消息失败");
    }

    @Override
    public void updateImTalkBatch(List<ImTalk> imTalks) {
        throw new ServiceException("更新对话消息失败");
    }
}
